package com.xr.sy.modules.message.service;

import com.xr.common.service.CrudService;
import com.xr.sy.modules.message.dto.SysMailDTO;
import com.xr.sy.modules.message.entity.SysMailEntity;

/**
 * 邮箱
 *
 * @author Joe 825525632@qq.com
 * @since 1.0.0 2019-11-26
 */
public interface SysMailService extends CrudService<SysMailEntity, SysMailDTO> {

    boolean sendVerifyCode(String email) throws Exception;

    SysMailEntity getByMail(String email);

}